package cn.tedu.egmybatis7.mapper;

import cn.tedu.egmybatis7.pojo.entity.Product;
import cn.tedu.egmybatis7.pojo.vo.SelectVO1;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;

@Mapper
public interface ProductMapper {

    int insertProduct(Product product);

    SelectVO1 selectSingleProduct(Integer id);

    int deleteById(Integer id);

    int dynamicUpdate(Product product);

    int deleteByIds(ArrayList<Integer> id);

    int deleteByIds2(Integer[] id);

    int dynamicUpdate2(Product product);

    int selectCount();

}
